package com.hd.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Activity {
    //主键
    private int id;
    //活动标题
    private String title;
    //活动分类id
    private int categoryId;
    //活动亮点
    private String highLight;
    //活动详情
    private String content;
    //活动状态
    private int status;
    //图片名称
    private String images;
    //城市枚举id,线上为0
    private int cityId;
    //地址模式,线上1，线下0
    private int addressType;
    //地址详情
    private String address;
    //活动开始时间
    private Date beginTime;
    //活动结束时间
    private Date endTime;
    //最小参与人数
    private int leastJoinNum;
    //最大参与人数
    private int mostJoinNum;
    //已经参与人数
    private int joinNum;
    //该活动被收藏的次数
    private int collectNum;
}
